#!/bin/bash

switchwinton(){
	git config --global user.name winton.liu
	git config --global user.email "18502523564@163.com"
}

switcharchermind(){
	git config --global user.name wen.liu
	git config --global user.email "wen.liu@archermind.com"
}

if [ $1 = "winton" ];then
    switchwinton
elif [ $1 = "archermind" ];then
    switcharchermind
else
    echo "Wrong Usage"
fi

